/*
 *  UnitDoodad.h
 *  MapEdit
 *
 *  Created by Steven Canfield on 7/5/07.
 *
 */

struct chk_unit_t {
	u_int32_t identifier;
	u_int16_t x;
	u_int16_t y;
	u_int16_t type;
	u_int16_t unknown0;
	u_int16_t property_valid;
	u_int16_t stat_valid;
	u_int8_t  owner;
	u_int8_t  health;
	u_int8_t  shield;
	u_int8_t  energy;
	u_int32_t  resource;
	u_int16_t hanger_size;
	u_int16_t property;
	u_int8_t  unused1;
	u_int8_t  unused2;
	u_int8_t  unused3;
	u_int8_t  unused4;
	u_int8_t  unused5;
	u_int8_t  unused6;
	u_int8_t  unused7;
	u_int8_t  unused8;
};
typedef struct chk_unit_t chk_unit_t;

/* Doodad Map of Level */
struct chk_dd2_t {
	u_int16_t identifier;
	u_int16_t x;
	u_int16_t y;
	u_int8_t  owner;
	u_int8_t  enabled;
};
typedef struct chk_dd2_t chk_dd2_t;

struct chk_thg2_t {
	u_int16_t	identifier;
	u_int16_t	x;
	u_int16_t	y;
	u_int8_t	owner;
	u_int8_t	unknown1;
	u_int16_t	unknown2;
};
typedef struct chk_thg2_t chk_thg2_t;